Use sponge-cursor to remove unnecessary buffering#849
Conversation
sponge-cursorsponge-cursor to remove unnecessary buffering
|
@tarcieri |
|
I think it’s fine to migrate though at this point I think you’d have to bump minor version, which I’m ok with |
Removes unnecessary buffering from sponge-based constructions using the `sponge-cursor` crate (see RustCrypto/utils#1477).
### Added - `CShake128Reader` and `CShake256Reader` type aliases ([#855]) ### Changed - Internal implementation by removing unnecessary buffering ([#849]) - `Rate: BlockSizes` generic parameter to `const RATE: usize` ([#849]) ### Removed - Implementations of `BlockSizeUser` ([#856]) [#849]: #849 [#855]: #855 [#856]: #856
### Added - `CTurboShake128` and `CTurboShake256` type aliases generic over domain separator ([#866]) ### Changed - Internal implementation by removing unnecessary buffering ([#849]) - `Rate: BlockSizes` generic parameter to `const RATE: usize` ([#849]) - `TurboShake128` and `TurboShake256` type aliases are no longer generic over the domain separator and use the default value instead ([#866]) ### Removed - Implementations of `BlockSizeUser` ([#856]) [#849]: #849 [#856]: #856 [#866]: #866
|
How do I use |
|
You can use |
|
This also affects the use of EagerHash in ecdsa: That can't be used anymore with sha3 anymore. This show up in https://github.com/RustCrypto/elliptic-curves/blob/a64c16cc3909d4489a2b0300886aa9f0a1691ba6/k256/src/ecdsa.rs#L243 EDIT: EDIT2: |
Removes unnecessary buffering from sponge-based constructions using the
sponge-cursorcrate (see RustCrypto/utils#1477).